package cn.ssm.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import cn.ssm.pojo.Class;

@Repository("ClassroomMapper")
public interface ClassroomMapper {
  
	
	public int insertClass(Class clr);
	
	
	public int delClass(int id);

	public int updateClass(Class clr);
	
	public List<Class> classInfo(@Param("form")int form,@Param("pageSize")int pageSize);  
	
	public int selectIdByName(String calssroomName);
	
	public Class selectByID(int id);
	
	public int selectClassCount();
	

	public List<Class> classInfo1();  
	
	public List<Class> classInfoById(@Param("id")int id,@Param("form")int form,@Param("pageSize")int pageSize);  
	
	public int selectcomputerroomByClassId(@Param("id")int id);  

	
	
}
